<%@ taglib prefix="v" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/9/12
  Time: 10:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@ include file="/common/include-core.jsp" %>
    <%@ include file="/common/include-wap.jsp" %>
    <title>确认订单</title>
    <link rel="stylesheet" href="/static/css/pay/wap/pay.css">
    <script type="text/javascript" src="/static/js/pay/pay.js?randomId=<%=Math.random()%>"></script>
    <script src=" https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <%-- <script src="https://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>--%>

</head>
<body>
<div class="content">
    <div class="head">
        <a href="javascript:history.back(-1)" class="return_01"><img src="/static/images/pay/return_01.png" alt=""></a>
        <h3>确认订单</h3>
    </div>
    <div class="goods">
        <div class="goods_img">
            <img src="<%--/static/images/apply/wap/apply_04.png--%>${orderItemList[0].productEntity.picPath}" alt="">
        </div>
        <input type="hidden" id="realPrice" value="${order.orderPrice}">
        <div class="goods_explain">
            <h4>${orderItemList[0].productEntity.productEntityName}</h4>
            <span class="span_01">数量：1</span>
            <h5>￥${orderItemList[0].productEntity.price}</h5>
        </div>
    </div>
    <div class="data_plan">
        <div class="flow_card">
            <img src="<%--/static/images/apply/wap/apply_01.png--%>${orderItemList[1].productEntity.picPath}" alt="">
        </div>
        <div class="flow_details">
            ${orderItemList[1].productEntity.productEntityIntro}
            <%--   <h3><span class="min_no">100分钟</span>免费通话</h3>
               <h3>全国4G流量不限量</h3>--%>
        </div>
    </div>

    <div class="order_number">
        <h3>订单编号：<span class="order_number_01">${order.orderId}</span></h3>
        <h3>下单时间：<span class="time"><fmt:formatDate value="${order.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></span>
        </h3>
        <h3>配送方式：<span class="express">普通快递</span></h3>
    </div>
    <div class="address">
        <h3><img src="/static/images/apply/wap/apply_icon_01.png" alt="" class="img_icon_01"><span
                class="span_01">${applyWatch.name}</span> <span class="span_02">${applyWatch.phone}</span></h3>
        <h3 class="address_02">地址：${applyWatch.address}</h3>
    </div>

    <div style="background: #fff;">

        <div class="sum">
            <c:forEach items="${orderItemList}" var="item" varStatus="st1">
                <h3> ${item.productEntity.productEntityName} <span><fmt:formatNumber value="${item.price/100}"
                                                                                     type="currency"/></span></h3>
            </c:forEach>
            <%-- <h3>秀才X1手表 <span>￥0.00</span></h3>
             <h3>运费 <span>+￥10.00</span></h3>--%>
        </div>
        <div class="separate">
            <div></div>
        </div>
        <div class="Disbursements">
            <h3>实付款：<span>￥</span><span id="payPrice">${order.orderPrice/100}</span></h3>
        </div>
    </div>
    <div class="button_01">
        支付
    </div>


</div>
</body>
</html>
